PXC Documentation

PXC Home

Sort Palette

pre 1.18

Sort palette with specified order.



Node Data

ColorArray

Display name

Sort Palette

Internal name

Node_Palette_Sort

Inheritances

node
node_processor
node_palette_sort

Inputs

node_palette_sort

palette

Palette In

enum

Order

bool

Reverse

text

Sort Order

Outputs

node_palette_sort

color

Sorted Palette

The order specified by the Order property contains 3 letters representing the priority of the sorting.



Custom Sorting


When choosing the custom sorting order, you can provide sorting priority string. The available letters are:


Letter Description
r Sort by red value
g Sort by green value
b Sort by blue value
h Sort by hue value
s Sort by saturation value
v Sort by value
l Sort by lightness value